class Rectangle():
    
    long = 5.00
    width = 4.00
    
    def getRect(self):
        print("这个矩形的长是：%.2f宽是：%.2f" % (self.long,self.width))
    def setRect(self):
        print("请输如长和宽...")
        self.long = float(input("长："))
        self.width = float(input("宽："))  
    def getArea(self):
        return self.long *self.width
        
